<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="icon" href="<c:url value='/resources/css/img/favicon.ico'/>" type="image/x-icon">
<link rel="shortcut icon" href="<c:url value='/resources/css/img/favicon.ico'/>" type="image/x-icon">

<title>Navi</title>
<script type="text/javascript"
    src="http://maps.googleapis.com/maps/api/js?key=AIzaSyC295wTzgx3jsrh_FEBE4QCMXfS7EX1mXE&sensor=false">
</script>

<script type="text/javascript">
	isLogged = '<c:out value="${isLogged}"/>';
	username = '<c:out value="${username}"/>';
	contextPath = '<%=request.getContextPath()%>';
</script>

<jsp:include page="includes.jsp"></jsp:include>

<script type="text/javascript">
	initializeI18N('<c:out value="${locale}"/>');
</script>

</head>
<body>
	<div id="application">
		<div id="header" class="headerBackground"><jsp:include page="header.jsp"></jsp:include></div>
		<div id="content"></div>
		<div id="footer"><jsp:include page="footer.jsp"></jsp:include></div>
		<div id="content-loading-mask"><spring:message code="loading"/></div>
	</div>
	
	<jsp:include page="invitations.jsp"></jsp:include>
	<jsp:include page="notifications.jsp"></jsp:include>
	
	<div id="ajaxErrorNotification" class="ui-widget-content ui-corner-all">
		<h3 class="ui-widget-header ui-corner-all">
			<spring:message code="error"/>
		</h3>
		<p id="ajaxErrorMessage"></p>
	</div>
	
</body>
</html>